<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>{{session("szyLy.title")}}</title>
  <meta name="keywords" content={{session("szyLy.keywords")}} />
    <meta name="description" content={{session("szyLy.description")}} />
  <link rel="shortcut icon" href="/style/home/img/1.png">
  <link rel="stylesheet" href="/style/home/css/lenovo.css">
  <script src="/style/home/js/jquery.js"></script>
  <script src="/style/home/js/index.js"></script>
</head>
<body>
  @include("home.public.header")
   <!-- 顶部图片 -->
<div class='container header'>
  <a href="#" title="" target="_blank" >
      <img id='imgs' src="/style/home/img/3.png" alt="" width='1200px' height="101px">
  </a>
  <a href="javascript:;"><span id='close'>&times;</span></a>
</div>
<!-- 中 -->
<!-- <div class="middle">
   <!-- 搜索 -->
 <form method="get" action="/search">
  <div class="container search">
     <div class="search-left">
       <a href="/"><img src={{session("szyLy.logo")}} alt=""></a>
     </div>

     <div class="search-right">
       <input type="text" placeholder="miix5" name="search" value="{{$request['search'] or ''}}">
        <div class="fang">
          <input type="submit" id="search" class="da" value="搜索">
        </div>       
     </div>
</form>
     <div class="clear"></div>
  </div>

                           
  <!-- 菜单 -->
  <div class="container menus">
   
  </div>
  <!-- 监听 -->
  <div class="jianting">
    <ul>
    </ul>
  </div>
  <!-- 侧边栏 -->
  <div class="cebianlang">
   <ul>
    <li class="ccbl"><span class="dianhua"></span>
      <div class="xianshi">
        <dl class="clearfix">
          <dt class="pc"></dt>
           <dd>
            <a href="javascript:;">商城服务热线<br>
            4000-888-222</a>
          </dd>
           <dt class="tk"></dt>
           <dd>
            <a href="javascript:;">商城服务热线<br>4000-888-222</a>
          </dd>
           <dt class="shouji"></dt>
           <dd>
            <a href="javascript:;">手机频道服务热线<br>
              400-818-8818</a>
          </dd>
           <dt class="xiuli"></dt>
           <dd>
            <a href="javascript:;">服务产品购买热线<br>
              400-890-1566</a>
          </dd>
          <dt class="dianlian"></dt>
          <dd>
            <a href="javascript:;">联想商用客户热线<br>
              400-813-6161</a>
          </dd>
          <dt class="ka"></dt>
          <dd>
            <a href="javascript:;">通信卡服务热线<br>
              400-641-0041</a>
          </dd>
         </dl>
      </div>
    </li>
    <li><span class="wechat"></span></li>
    <li><span class="home"></span></li>
    <li><span class="qianbi"></span></li>
   </ul>
   <div class="huidao">
    <span class="dingbu"></span>
   </div>

  </div>
  <!-- 轮播区 -->
  <div class="container carouse">
        <div class="left">
        <ul>
          @foreach($type as $one)
          <li>
          <div class="left-menu">
            <a href="/types/{{$one['id']}}">{{$one['typename']}}<span class="list_usepng list_icona"></span></a>
            <!-- 详细内容 -->
            <div class="left-xiang">
                  <!-- 总说 -->
              <div class="left-zong">
                  <!-- 分说 字-->
                @foreach($one['zi'] as $two)
                <div class="left-zi">
                  <p><a href="/types/{{$two['id']}}" >{{$two['typename']}}</a></p>
                  
                  <ul class="clearfix">
                    @foreach($two['zi'] as $three)
                    <li>
                      <a href="/types/{{$three['id']}}" >{{$three['typename']}}</a>
                    </li>
                    @endforeach    
                  </ul>

              </div>

                @endforeach
            
              </div>
                  <!-- 分说图 -->
                  <div class="left-tu">

                    @foreach($one['rightAds'] as $rightAds)
                    <a href="">
                      <img class="classification_img" title="{{$rightAds['title']}}" src="{{$rightAds['img']}}" >
                    </a>
                    @endforeach
                    
                  </div>
              </div>
            </div>
          </li>
          @endforeach
      
        </ul>
      </div>

      <div class="clear"></div>


      <!-- 轮播图开始 -->
      <div class="center">

         <ul class='imgs'>

          @foreach($slider as $key=> $value)
            @if($key==0)
              <li class='active'><img src="{{$value['img']}}" alt="" width="770px" height="365px"></li>

            @else
              <li class=''><img src="{{$value['img']}}" alt="" width="770px" height="365px"></li>

            @endif
          @endforeach
        </ul>

        <ul class='nums'>
          
          @foreach($slider as $key=> $value)
            
            @if($key==0)
              <li class="active"></li>
            @else
              <li></li>
            @endif
          @endforeach
        
        </ul>
      <a href="javascript:;" class="btn btn-left"></a>
      <a href="javascript:;" class="btn btn-right"></a>
  </div>
  <!-- 轮播图结束 -->
      <div class="right">
        <div class="xin">
          <div class="xisn">
            <div class="horn_ring"></div>
            <ul class="xnss">
               <li><a target="_blank" href="">四年延保，沸腾国庆！</a></li>
               <li><a target="_blank" href="">联想APP客户端乐豆抽奖大战开始啦，赶快下载抽取大奖，miix平板等着你！</a></li>
               <li><a target="_blank" href="">四年延保，沸腾国庆！</a></li>
               <li><a target="_blank" href="">联想APP客户端乐豆抽奖大战开始啦，赶快下载抽取大奖，miix平板等着你！</a>
               </li>
             </ul>
            </div>
          </div>
        <!-- 评论 -->
        <div class="ping">
           <h2 class="clearfix"><span>精彩讨论</span>
            <a target="_blank" href="">更多 &gt;</a>
           </h2>
           <ul class="lun">
              <li>
                <a target="_blank" href="">【评测】一款高颜值笔记本的告白</a>
              </li>
              <li>
                <a target="_blank" href="">【评测】Moto Z+哈苏模块≈单反体验</a>
              </li>
              <li>
              <a target="_blank" href="">【活动】分享你的怀旧珍藏赢好礼</a>
              </li>
              <li>
                <a target="_blank" href="">【体验】诠释轻薄与性能的小新 Air 13 Pro</a>
              </li>
              <li>
                <a target="_blank" href="">【小白课堂】小新笔记本还能这样玩</a>
              </li>
              <li>
                <a target="_blank" href="l">【活动】联想智能存储有奖征名</a>
              </li>
              <li>

                <a target="_blank" href="">【选本】新晋二合一笔记本推荐</a>
              </li>
             </ul>
        </div>
      </div>

  </div>
  <!-- 广告图片开始 -->
  <div class="container middle-erbo">
   <div class="bao">
    <div class="tui">
      <img src="/style/home/img/70.jpg" alt="">
    </div>
    <div class="boo">
      <ul class="bo-1">
        @foreach($ads as $key=> $value)

          <li style="width: 252px; height: 159px;">
            <a target="_blank" href="">
              <img src="{{$value['img']}}" style="width: 252px; height: 159px;">
            </a>
          </li>
        @endforeach 
         
      </ul>
      <a href="javascript:;" class="btn btn-left"></a>
      <a href="javascript:;" class="btn btn-right"></a>
    </div>
   </div>
  </div>

  <!-- 广告图片结束 -->
  <!-- 明星单品 -->
  <div class="container star">
    <div class="star-1">
      <h3><span><img src="/style/home/img/555.png" alt=""dispaly="none"></span>明星单品</h3>
      <div class="start-xi">
        <ul>
          
          @foreach($goods as $good)
          <li style="width: 198px; height: 297px;">
            <a target="_blank" href="/goods/{{$good['id']}}"> 
              <img title="{{$good['goodsname']}}" style="width: 180px; height:180px;" src="{{$good['img']}}">
            </a>
            <p class="star_name">
              <a title="{{$good['goodsname']}}" target="_blank" href="/goods/{{$good['id']}}">{{$good['goodsname']}}</a>
            </p>
            <p class="star_ad">
              <a target="_blank" title="{{$good['title']}}" href="/goods/{{$good['id']}}">{{$good['title']}}</a>
            </p>
            <p class="star_price"><a title="{{$good['title']}}" target="_blank" href="/goods/{{$good['id']}}">{{number_format($good['price'])}}元</a></p>
          </li>

          @endforeach
        
      <div class='clear'></div>
    </ul>
  </div>
 </div>
</div>
  <!-- 猜你喜欢 -->
  <!-- <div class="like"></div> -->

  <!-- 楼层 -->
  <div class="ceng">
    <div class='container lou '>
  <!-- 1F联想 -->
    <?php 

      $louNum=0;
     ?>
    @foreach($type as $lou)

    @if($lou['is_lou'])
      <?php 

        $louNum++;

       ?>
    <div class="lenovo">
     <div class="title"> 
       <h3><span>{{$louNum}}F</span><em> {{$lou['typename']}}</em></h3>
       <div class="jieshao">
        @foreach($lou['zi'] as $zi)
        <a target="_blank" href="javascript:;" title="{{$zi['typename']}}">{{$zi['typename']}}</a>
        @endforeach
       </div>
      </div>
      <div class="rong">
       <div class="zuo">
         <a target="_blank" href="javascript:;"> <img title="{{$lou['leftAds']['title']}}" width="240" height="535" src="{{$lou['leftAds']['img']}}">
         </a>
       </div>
       <div class="you">

        @foreach($lou['goods'] as $louGoods)
         <div class="you1 good">
          <a target="_blank" href="/goods/{{$louGoods['id']}}"   title="{{$louGoods['title']}}"> 
           <img width="164" height="164" title="{{$louGoods['title']}}" src="{{$louGoods['img']}}" > 
          </a>
          <a class="good-jie"target="_blank" title="{{$louGoods['title']}}" href="/goods/{{$louGoods['id']}}">{{$louGoods['goodsname']}}
          </a>
          <a class="good-jie1"target="_blank" href="/goods/{{$louGoods['id']}}" title="{{$louGoods['title']}}">{{$louGoods['title']}}
          </a>
          <a class="money"  target="_blank" href="/goods/{{$louGoods['id']}}"  title="{{$louGoods['title']}}">{{number_format($louGoods['price'])}}元
          </a>
          <span class="good-biao"></span>
         </div>

         @endforeach
         
       </div>
       <div class="clear"></div>
     </div>
     </div>
     @endif

     @endforeach


<!-- 6F社交平台 -->
       <div class="container social">
          <div class="title">
            <h3><span>{{++$louNum}}F</span> 社交平台</h3>
          </div>
          <div class="social-tu">
            <ul>
              <li>
                <div class="shekuang" datatype="5" sort="1" b_i="190,212,30">
                      <a target="_blank" href="javascript:;">
                        <img width="190" height="212" src="/style/home/img/50.jpg" class="lazy_img"></a>
                      <div class="social-tou"></div>
                      <div class="social-rong">
                        <em class="social-zi" ></em>
                        <span>联想社区</span>
                      </div>
                </div>
              </li>
              <li>
                <div class="shekuang" datatype="5" sort="2" b_i="190,212,30">
                      <a target="_blank" href="javascript:;">
                        <img width="190" height="212" src="/style/home/img/52.jpg" class="lazy_img"></a>
                      <div class="social-tou"></div>
                      <div class="social-rong">
                        <em class="social-guanwei"></em>
                        <span>官方微信</span>
                      </div>
                </div>
              </li>
              <li>
                <div class="shekuang" datatype="5" sort="3" b_i="190,212,30">
                      <a target="_blank" href="javascript:;">
                        <img width="190" height="212" src="/style/home/img/53.jpg" class="lazy_img"></a>
                      <div class="social-tou"></div>
                     <div class="social-rong">
                        <em class="social-weifu"></em>
                        <span>微信服务</span>
                      </div>
                </div>
              </li>
              <li>
                <div class="shekuang" datatype="5" sort="4" b_i="190,212,30">
                      <a target="_blank" href="javascript:;">
                        <img width="190" height="212" src="/style/home/img/54.jpg" class="lazy_img"></a>
                      <div class="social-tou"></div>
                      <div class="social-rong">
                        <em class="social-batie"></em>
                        <span>百度贴吧</span>
                      </div>
                </div>
              </li>
              <li>
                <div class="shekuang" datatype="5" sort="5" b_i="190,212,30">
                      <a target="_blank" href="javascript:;">
                        <img width="190" height="212" src="/style/home/img/55.jpg" class="lazy_img"></a>
                      <div class="social-tou"></div>
                      <div class="social-rong">
                        <em class="social-gaungwei"></em>
                        <span>官方微博</span>
                      </div>
                </div>
              </li>
              <li style="margin-right:0px;">
                <div class="shekuang" datatype="5" sort="6" b_i="190,212,30">
                      <a target="_blank" href="javascript:;" >
                        <img width="190" height="212" src="/style/home/img/56.jpg" class="lazy_img"></a>
                      <div class="social-tou"></div>
                      <div class="social-rong">
                        <em class="social-xinqu" ></em>
                        <span>兴趣部落</span>
                      </div>
                </div>
              </li>
              <div class="clear"><div>
            </ul>
          </div>
      </div>
     </div>
    </div>
   </div>
 </div>

</div>
<!-- 页脚-->
@include("home.public.footer");
</body>

</html>

